package com.rensea.android.widget;

import com.rensea.android.api.MessageAPIClient;

import android.content.Context;
import android.view.View;
import android.widget.AdapterView;
import android.widget.ListView;
import android.widget.AdapterView.OnItemLongClickListener;

public class AppWidgetList extends ListView implements OnItemLongClickListener {

	private Context context = null;
	public AppWidgetList(Context context) {
		super(context);
		this.context = context;
        this.setOnItemLongClickListener(this);
        setAdapter(new ListMessageAdapter(context,MessageAPIClient.getMessages(MessageAPIClient.MENTIONS_SERVICE+"?count=5"),null));
	}

	@Override
	public boolean onItemLongClick(AdapterView<?> arg0, View arg1, int arg2,
			long arg3) {
		return false;
	}

}
